#include "toolaction.h"
#include <Tool>

ToolAction::ToolAction(QObject *parent) :
    QAction(parent)
{
}

void ToolAction::setTool(QPointer<Tool> tool)
{
    m_tool = tool;
}

QPointer<Tool> ToolAction::tool() const
{
    return m_tool;
}
